package com.cw2.structural.proxy.statics;

public class LiMingTiktokProxy implements MainTikTok{

    private MainTikTok mainTikTok;

    public LiMingTiktokProxy(MainTikTok mainTikTok) {
        this.mainTikTok = mainTikTok;
    }

    @Override
    public void tiktok() {
        // 增强功能
        System.out.println("代理模式对功能进行增强");
        mainTikTok.tiktok();
    }
}
